<script src="__PUBLIC__/js/mp/mer_wx_tools.js"></script>
<script>
var Param = <?php echo json_encode( $param ) ?> ;
$(function(){
  MerWxTools.init(<?php echo json_encode( $config ) ?>);
});

</script>

<div class="page-content">
  <ol class="breadcrumb">
    <li><a href="<?php echo $home_url ?>">首页</a></li>
    <li class="active"><?php echo $module_name ?></li>
  </ol>
  <div class="page-content-inner"> 
    <!-- read_modal -->
    <div class="portlet blue" id="read_modal"> 
      <!-- portlet-title -->
      <div class="portlet-title">
        <div class="caption"> <i class="fa fa-wrench"></i> <?php echo $module_name ?> </div>
      </div>
      <!-- end portlet-title -->
      <div class="portlet-body "> 
        <form id="redirect_form" class="form-horizontal">
          <h4>跳转地址转换</h4>
          <div class="form-group">
            <div class="col-sm-5">
              <p><input type="text" name="state" id="redirect_state" class="form-control" placeholder="state"></p>
              <p>
                <select name="scope" id="redirect_scope" class="form-control">
                  <option value="snsapi_userinfo" selected>Scope=snsapi_userinfo</option>
                  <option value="snsapi_base">Scope=snsapi_base</option>
                </select>
              </p>
              <p>
                <textarea name="url_org" id="redirect_url_org" class="form-control" placeholder="需要转换的URL" ></textarea>
              </p>
            </div>
            <div class="col-sm-5">
              <textarea id="url_tar" class="form-control" placeholder="转换后的URL" rows="6"></textarea>
            </div>
          </div>
          
        </form>

        

        <!-- end table --> 
        <div class="row" style="text-align:center; margin-top:60px;">
          <button type="button" class="btn btn-lg btn-default" onClick="javascript:history.go(-1)"><i class="fa fa-arrow-left"></i> 返回</button>
        </div>
      </div>
    </div>
    <!-- end portlet read_modal --> 
  </div>
  <!-- end page-content-inner --> 
</div>

